package com.itheima.mapper;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {


    @MapKey("name")
    public List<Map> getEmpGenderData();



    /**
     * 查询每一个岗位对应的员工数量
     */
    @MapKey("pos")
    List<Map<String,Object>> countEmpJobData();

    /**
     * 学员学历统计
     * @return
     */
    List<Map<String,Object>> getStuDegreeData();

    /**
     * 班级人数统计
     * @return
     */
    @MapKey("name")
    List<Map<String, Object>> getStuCountData();
}
